#ifndef __OPENCLGL_UTIL_H__
#define __OPENCLGL_UTIL_H__

#include "PrimaryGeometry.h"
#include "CL/cl.hpp"
#include <SDKUtil/CLUtil.hpp>
#include <SDKUtil/SDKBitMap.hpp>

void previewPixelBuffer(int bWidth,int bHeight, GLuint buffer);
void previewTexture2D(int tWidth,int tHeight, GLuint & texture);
int showDataCLMem1D(int bWidth,int bHeight,cl_mem buf,cl_command_queue & commandQueue, std::string name);
int showMemSum1D(int bWidth,int bHeight,cl_mem buf,cl_command_queue & commandQueue, std::string name);

int showCharDataCLMem1D(int bWidth,int bHeight,cl_mem buf,cl_command_queue & commandQueue, std::string name);
#endif